using System.Collections.Generic;
using Provausio.Common.Objects;
using TrainingManagement.api.Models.Data.CRUD;
using TrainingManagement.api.Models.Data.CRUD.Skill;

namespace TrainingManagement.api.Models.BusinessLogic.Skill
{
    public class SkillSelectOperation : BusinessOperation<int?, List<BusinessObjects.Skill>>
    {
        readonly SkillSelectDataSource _skillSelect = new SkillSelectDataSource();

        public override List<BusinessObjects.Skill> Run(int? input)
        {
            return _skillSelect.Execute(input);
        }
    }
}